.class public Lcom/estrongs/android/ui/drag/a;
.super Ljava/lang/Object;
.source "DragController.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/ui/drag/a$d;,
        Lcom/estrongs/android/ui/drag/a$e;,
        Lcom/estrongs/android/ui/drag/a$c;
    }
.end annotation


# static fields
.field public static Q:I


# instance fields
.field private A:Z

.field private B:Z

.field private C:Ljava/util/HashSet;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/HashSet<",
            "Lcom/estrongs/android/ui/drag/g;",
            ">;"
        }
    .end annotation
.end field

.field private D:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lcom/estrongs/android/ui/drag/g;",
            ">;"
        }
    .end annotation
.end field

.field private E:Lcom/estrongs/android/ui/drag/a$c;

.field private F:Landroid/os/IBinder;

.field private G:Landroid/view/View;

.field private H:Lcom/estrongs/android/ui/drag/c;

.field private I:I

.field private J:Lcom/estrongs/android/ui/drag/a$e;

.field private K:Landroid/graphics/Rect;

.field private L:Z

.field private M:Landroid/graphics/RectF;

.field private N:Lcom/estrongs/android/ui/drag/g;

.field private O:Landroid/view/inputmethod/InputMethodManager;

.field private P:I

.field private a:Landroid/content/Context;

.field private b:Landroid/os/Handler;

.field private c:Landroid/graphics/Rect;

.field private final d:[I

.field private e:Z

.field private f:Z

.field private g:F

.field private h:F

.field private i:Landroid/util/DisplayMetrics;

.field private j:Landroid/view/View;

.field private k:F

.field private l:F

.field private m:I

.field private n:Lcom/estrongs/android/ui/drag/d;

.field private o:Ljava/lang/Object;

.field private p:Lcom/estrongs/android/ui/drag/e;

.field private q:I

.field private r:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/estrongs/android/ui/drag/b;",
            ">;"
        }
    .end annotation
.end field

.field private s:Z

.field private t:I

.field private u:I

.field private v:Landroid/graphics/Rect;

.field private w:Landroid/graphics/Rect;

.field private x:Z

.field private y:Lcom/estrongs/fs/g;

.field private z:Lcom/estrongs/android/view/FileGridViewWrapper;


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .locals 2

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/ui/drag/a;->c:Landroid/graphics/Rect;

    .line 3
    new-instance v0, Landroid/graphics/Region;

    invoke-direct {v0}, Landroid/graphics/Region;-><init>()V

    const/4 v0, 0x2

    new-array v0, v0, [I

    .line 4
    iput-object v0, p0, Lcom/estrongs/android/ui/drag/a;->d:[I

    .line 5
    new-instance v0, Landroid/util/DisplayMetrics;

    invoke-direct {v0}, Landroid/util/DisplayMetrics;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/ui/drag/a;->i:Landroid/util/DisplayMetrics;

    .line 6
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/ui/drag/a;->v:Landroid/graphics/Rect;

    .line 7
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/ui/drag/a;->w:Landroid/graphics/Rect;

    const/4 v0, 0x0

    .line 8
    iput-boolean v0, p0, Lcom/estrongs/android/ui/drag/a;->A:Z

    .line 9
    iput-boolean v0, p0, Lcom/estrongs/android/ui/drag/a;->B:Z

    .line 10
    new-instance v1, Ljava/util/HashSet;

    invoke-direct {v1}, Ljava/util/HashSet;-><init>()V

    iput-object v1, p0, Lcom/estrongs/android/ui/drag/a;->C:Ljava/util/HashSet;

    .line 11
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Lcom/estrongs/android/ui/drag/a;->D:Ljava/util/ArrayList;

    .line 12
    iput v0, p0, Lcom/estrongs/android/ui/drag/a;->I:I

    .line 13
    new-instance v0, Lcom/estrongs/android/ui/drag/a$e;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/drag/a$e;-><init>(Lcom/estrongs/android/ui/drag/a;)V

    iput-object v0, p0, Lcom/estrongs/android/ui/drag/a;->J:Lcom/estrongs/android/ui/drag/a$e;

    .line 14
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/ui/drag/a;->K:Landroid/graphics/Rect;

    .line 15
    iput-object p1, p0, Lcom/estrongs/android/ui/drag/a;->a:Landroid/content/Context;

    .line 16
    new-instance p1, Landroid/os/Handler;

    invoke-direct {p1}, Landroid/os/Handler;-><init>()V

    iput-object p1, p0, Lcom/estrongs/android/ui/drag/a;->b:Landroid/os/Handler;

    .line 17
    iget-object p1, p0, Lcom/estrongs/android/ui/drag/a;->a:Landroid/content/Context;

    const/high16 v0, 0x41a00000    # 20.0f

    invoke-static {p1, v0}, Les/fy;->a(Landroid/content/Context;F)I

    move-result p1

    iput p1, p0, Lcom/estrongs/android/ui/drag/a;->m:I

    .line 18
    iget-object p1, p0, Lcom/estrongs/android/ui/drag/a;->a:Landroid/content/Context;

    const-string v0, "vibrator"

    .line 19
    invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/os/Vibrator;

    .line 20
    iget-object p1, p0, Lcom/estrongs/android/ui/drag/a;->a:Landroid/content/Context;

    invoke-static {p1}, Landroid/view/ViewConfiguration;->get(Landroid/content/Context;)Landroid/view/ViewConfiguration;

    move-result-object p1

    .line 21
    invoke-virtual {p1}, Landroid/view/ViewConfiguration;->getScaledTouchSlop()I

    move-result p1

    add-int/lit8 p1, p1, -0x1

    iput p1, p0, Lcom/estrongs/android/ui/drag/a;->P:I

    return-void
.end method

.method private static a(III)I
    .locals 0

    if-ge p0, p1, :cond_0

    return p1

    :cond_0
    if-lt p0, p2, :cond_1

    add-int/lit8 p2, p2, -0x1

    return p2

    :cond_1
    return p0
.end method

.method static synthetic a(Lcom/estrongs/android/ui/drag/a;I)I
    .locals 0

    .line 2
    iput p1, p0, Lcom/estrongs/android/ui/drag/a;->I:I

    return p1
.end method

.method private a(Landroid/view/View;)Landroid/graphics/Bitmap;
    .locals 2

    .line 29
    invoke-virtual {p1}, Landroid/view/View;->isDrawingCacheEnabled()Z

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x1

    .line 30
    invoke-virtual {p1, v0}, Landroid/view/View;->setDrawingCacheEnabled(Z)V

    :cond_0
    const/high16 v0, 0x100000

    .line 31
    invoke-virtual {p1, v0}, Landroid/view/View;->setDrawingCacheQuality(I)V

    .line 32
    invoke-virtual {p1}, Landroid/view/View;->clearFocus()V

    const/4 v0, 0x0

    .line 33
    invoke-virtual {p1, v0}, Landroid/view/View;->setPressed(Z)V

    .line 34
    invoke-virtual {p1}, Landroid/view/View;->willNotCacheDrawing()Z

    move-result v1

    .line 35
    invoke-virtual {p1, v0}, Landroid/view/View;->setWillNotCacheDrawing(Z)V

    .line 36
    invoke-virtual {p1}, Landroid/view/View;->destroyDrawingCache()V

    .line 37
    invoke-virtual {p1}, Landroid/view/View;->buildDrawingCache()V

    .line 38
    invoke-virtual {p1}, Landroid/view/View;->getDrawingCache()Landroid/graphics/Bitmap;

    move-result-object v0

    if-nez v0, :cond_1

    .line 39
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "failed getViewBitmap("

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const-string p1, ")"

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    new-instance v0, Ljava/lang/RuntimeException;

    invoke-direct {v0}, Ljava/lang/RuntimeException;-><init>()V

    const-string v1, "Launcher.DragController"

    invoke-static {v1, p1, v0}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    const/4 p1, 0x0

    return-object p1

    .line 40
    :cond_1
    invoke-static {v0}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;)Landroid/graphics/Bitmap;

    move-result-object v0

    .line 41
    invoke-virtual {p1}, Landroid/view/View;->destroyDrawingCache()V

    .line 42
    invoke-virtual {p1, v1}, Landroid/view/View;->setWillNotCacheDrawing(Z)V

    return-object v0
.end method

.method private a(II[I)Lcom/estrongs/android/ui/drag/g;
    .locals 9

    .line 78
    iget-object v0, p0, Lcom/estrongs/android/ui/drag/a;->c:Landroid/graphics/Rect;

    .line 79
    iget-object v1, p0, Lcom/estrongs/android/ui/drag/a;->D:Ljava/util/ArrayList;

    .line 80
    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v2

    const/4 v3, 0x1

    sub-int/2addr v2, v3

    :goto_0
    const/4 v4, 0x0

    if-ltz v2, :cond_1

    .line 81
    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/estrongs/android/ui/drag/DragActionZone;

    .line 82
    invoke-virtual {v5, v0}, Landroid/widget/LinearLayout;->getHitRect(Landroid/graphics/Rect;)V

    .line 83
    invoke-virtual {v5, p3}, Landroid/widget/LinearLayout;->getLocationOnScreen([I)V

    .line 84
    aget v6, p3, v4

    invoke-virtual {v5}, Landroid/widget/LinearLayout;->getLeft()I

    move-result v7

    sub-int/2addr v6, v7

    aget v7, p3, v3

    .line 85
    invoke-virtual {v5}, Landroid/widget/LinearLayout;->getTop()I

    move-result v8

    sub-int/2addr v7, v8

    .line 86
    invoke-virtual {v0, v6, v7}, Landroid/graphics/Rect;->offset(II)V

    .line 87
    invoke-virtual {v0, p1, p2}, Landroid/graphics/Rect;->contains(II)Z

    move-result v6

    if-eqz v6, :cond_0

    .line 88
    invoke-virtual {v5, v0, p1, p2}, Lcom/estrongs/android/ui/drag/DragActionZone;->a(Landroid/graphics/Rect;II)Z

    move-result v6

    if-eqz v6, :cond_0

    .line 89
    iput-boolean v3, p0, Lcom/estrongs/android/ui/drag/a;->L:Z

    .line 90
    iput v4, p0, Lcom/estrongs/android/ui/drag/a;->I:I

    .line 91
    aget v0, p3, v4

    sub-int/2addr p1, v0

    aput p1, p3, v4

    .line 92
    aget p1, p3, v3

    sub-int/2addr p2, p1

    aput p2, p3, v3

    return-object v5

    :cond_0
    add-int/lit8 v2, v2, -0x1

    goto :goto_0

    .line 93
    :cond_1
    iput-boolean v4, p0, Lcom/estrongs/android/ui/drag/a;->L:Z

    .line 94
    iget-boolean v1, p0, Lcom/estrongs/android/ui/drag/a;->x:Z

    const/4 v2, 0x0

    if-nez v1, :cond_2

    .line 95
    iget-object v1, p0, Lcom/estrongs/android/ui/drag/a;->v:Landroid/graphics/Rect;

    iget v5, p0, Lcom/estrongs/android/ui/drag/a;->t:I

    iget v6, p0, Lcom/estrongs/android/ui/drag/a;->u:I

    invoke-virtual {v1, v5, v6}, Landroid/graphics/Rect;->contains(II)Z

    move-result v1

    if-nez v1, :cond_2

    return-object v2

    .line 96
    :cond_2
    iget-object v1, p0, Lcom/estrongs/android/ui/drag/a;->C:Ljava/util/HashSet;

    .line 97
    invoke-virtual {v1}, Ljava/util/HashSet;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_3
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-eqz v5, :cond_4

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/estrongs/android/ui/drag/g;

    .line 98
    invoke-interface {v5, v0}, Lcom/estrongs/android/ui/drag/g;->getHitRect(Landroid/graphics/Rect;)V

    .line 99
    invoke-interface {v5, p3}, Lcom/estrongs/android/ui/drag/g;->getLocationOnScreen([I)V

    .line 100
    aget v6, p3, v4

    invoke-interface {v5}, Lcom/estrongs/android/ui/drag/g;->getLeft()I

    move-result v7

    sub-int/2addr v6, v7

    aget v7, p3, v3

    .line 101
    invoke-interface {v5}, Lcom/estrongs/android/ui/drag/g;->getTop()I

    move-result v8

    sub-int/2addr v7, v8

    .line 102
    invoke-virtual {v0, v6, v7}, Landroid/graphics/Rect;->offset(II)V

    .line 103
    invoke-virtual {v0, p1, p2}, Landroid/graphics/Rect;->contains(II)Z

    move-result v6

    if-eqz v6, :cond_3

    .line 104
    aget v0, p3, v4

    sub-int/2addr p1, v0

    aput p1, p3, v4

    .line 105
    aget p1, p3, v3

    sub-int/2addr p2, p1

    aput p2, p3, v3

    return-object v5

    :cond_4
    return-object v2
.end method

.method private a(Landroid/graphics/Bitmap;IIIIIII)V
    .locals 14

    move-object v1, p0

    .line 23
    iget v0, v1, Lcom/estrongs/android/ui/drag/a;->g:F

    float-to-int v0, v0

    sub-int v0, v0, p2

    .line 24
    iget v2, v1, Lcom/estrongs/android/ui/drag/a;->h:F

    float-to-int v2, v2

    sub-int v12, v2, p3

    .line 25
    :try_start_0
    new-instance v13, Lcom/estrongs/android/ui/drag/e;

    iget-object v3, v1, Lcom/estrongs/android/ui/drag/a;->a:Landroid/content/Context;

    new-instance v11, Lcom/estrongs/android/ui/drag/a$b;

    invoke-direct {v11, p0}, Lcom/estrongs/android/ui/drag/a$b;-><init>(Lcom/estrongs/android/ui/drag/a;)V

    move-object v2, v13

    move-object v4, p1

    move v5, v0

    move v6, v12

    move/from16 v7, p4

    move/from16 v8, p5

    move/from16 v9, p6

    move/from16 v10, p7

    invoke-direct/range {v2 .. v11}, Lcom/estrongs/android/ui/drag/e;-><init>(Landroid/content/Context;Landroid/graphics/Bitmap;IIIIIILjava/lang/Runnable;)V

    .line 26
    iget-object v2, v1, Lcom/estrongs/android/ui/drag/a;->F:Landroid/os/IBinder;

    iget v3, v1, Lcom/estrongs/android/ui/drag/a;->g:F

    float-to-int v3, v3

    iget v4, v1, Lcom/estrongs/android/ui/drag/a;->h:F

    float-to-int v4, v4

    invoke-virtual {v13, v2, v3, v4}, Lcom/estrongs/android/ui/drag/e;->a(Landroid/os/IBinder;II)V

    .line 27
    iget-object v2, v1, Lcom/estrongs/android/ui/drag/a;->b:Landroid/os/Handler;

    new-instance v3, Lcom/estrongs/android/ui/drag/a$d;

    move-object p1, v3

    move-object/from16 p2, p0

    move-object/from16 p3, v13

    move/from16 p4, p8

    move/from16 p5, v0

    move/from16 p6, v12

    invoke-direct/range {p1 .. p6}, Lcom/estrongs/android/ui/drag/a$d;-><init>(Lcom/estrongs/android/ui/drag/a;Lcom/estrongs/android/ui/drag/e;III)V

    const-wide/16 v4, 0x12c

    invoke-virtual {v2, v3, v4, v5}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception v0

    .line 28
    invoke-virtual {v0}, Ljava/lang/Throwable;->printStackTrace()V

    :goto_0
    return-void
.end method

.method private a(Landroid/graphics/Bitmap;IIIIIILcom/estrongs/android/ui/drag/d;Ljava/lang/Object;I)V
    .locals 15

    move-object v1, p0

    move/from16 v0, p2

    move/from16 v2, p3

    .line 11
    iget-object v3, v1, Lcom/estrongs/android/ui/drag/a;->O:Landroid/view/inputmethod/InputMethodManager;

    if-nez v3, :cond_0

    .line 12
    iget-object v3, v1, Lcom/estrongs/android/ui/drag/a;->a:Landroid/content/Context;

    const-string v4, "input_method"

    .line 13
    invoke-virtual {v3, v4}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroid/view/inputmethod/InputMethodManager;

    iput-object v3, v1, Lcom/estrongs/android/ui/drag/a;->O:Landroid/view/inputmethod/InputMethodManager;

    .line 14
    :cond_0
    iget-object v3, v1, Lcom/estrongs/android/ui/drag/a;->O:Landroid/view/inputmethod/InputMethodManager;

    iget-object v4, v1, Lcom/estrongs/android/ui/drag/a;->F:Landroid/os/IBinder;

    const/4 v5, 0x0

    invoke-virtual {v3, v4, v5}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z

    .line 15
    iget v3, v1, Lcom/estrongs/android/ui/drag/a;->g:F

    float-to-int v4, v3

    sub-int v8, v4, v0

    .line 16
    iget v4, v1, Lcom/estrongs/android/ui/drag/a;->h:F

    float-to-int v5, v4

    sub-int v9, v5, v2

    int-to-float v0, v0

    sub-float/2addr v3, v0

    .line 17
    iput v3, v1, Lcom/estrongs/android/ui/drag/a;->k:F

    int-to-float v0, v2

    sub-float/2addr v4, v0

    .line 18
    iput v4, v1, Lcom/estrongs/android/ui/drag/a;->l:F

    .line 19
    :try_start_0
    new-instance v0, Lcom/estrongs/android/ui/drag/e;

    iget-object v6, v1, Lcom/estrongs/android/ui/drag/a;->a:Landroid/content/Context;

    new-instance v14, Lcom/estrongs/android/ui/drag/a$a;

    invoke-direct {v14, p0}, Lcom/estrongs/android/ui/drag/a$a;-><init>(Lcom/estrongs/android/ui/drag/a;)V

    move-object v5, v0

    move-object/from16 v7, p1

    move/from16 v10, p4

    move/from16 v11, p5

    move/from16 v12, p6

    move/from16 v13, p7

    invoke-direct/range {v5 .. v14}, Lcom/estrongs/android/ui/drag/e;-><init>(Landroid/content/Context;Landroid/graphics/Bitmap;IIIIIILjava/lang/Runnable;)V

    iput-object v0, v1, Lcom/estrongs/android/ui/drag/a;->p:Lcom/estrongs/android/ui/drag/e;

    .line 20
    iget-object v2, v1, Lcom/estrongs/android/ui/drag/a;->F:Landroid/os/IBinder;

    iget v3, v1, Lcom/estrongs/android/ui/drag/a;->g:F

    float-to-int v3, v3

    iget v4, v1, Lcom/estrongs/android/ui/drag/a;->h:F

    float-to-int v4, v4

    invoke-virtual {v0, v2, v3, v4}, Lcom/estrongs/android/ui/drag/e;->a(Landroid/os/IBinder;II)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception v0

    .line 21
    invoke-virtual {v0}, Ljava/lang/Throwable;->printStackTrace()V

    .line 22
    :goto_0
    invoke-virtual/range {p1 .. p1}, Landroid/graphics/Bitmap;->recycle()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/drag/a;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/ui/drag/a;->g()V

    return-void
.end method

.method private a(FF)Z
    .locals 10

    .line 71
    iget-object v0, p0, Lcom/estrongs/android/ui/drag/a;->d:[I

    float-to-int p1, p1

    float-to-int p2, p2

    .line 72
    invoke-direct {p0, p1, p2, v0}, Lcom/estrongs/android/ui/drag/a;->a(II[I)Lcom/estrongs/android/ui/drag/g;

    move-result-object p1

    const/4 p2, 0x0

    if-eqz p1, :cond_1

    .line 73
    iget-object v2, p0, Lcom/estrongs/android/ui/drag/a;->n:Lcom/estrongs/android/ui/drag/d;

    aget v3, v0, p2

    const/4 v9, 0x1

    aget v4, v0, v9

    iget v1, p0, Lcom/estrongs/android/ui/drag/a;->k:F

    float-to-int v5, v1

    iget v1, p0, Lcom/estrongs/android/ui/drag/a;->l:F

    float-to-int v6, v1

    iget-object v7, p0, Lcom/estrongs/android/ui/drag/a;->p:Lcom/estrongs/android/ui/drag/e;

    iget-object v8, p0, Lcom/estrongs/android/ui/drag/a;->o:Ljava/lang/Object;

    move-object v1, p1

    invoke-interface/range {v1 .. v8}, Lcom/estrongs/android/ui/drag/g;->c(Lcom/estrongs/android/ui/drag/d;IIIILcom/estrongs/android/ui/drag/e;Ljava/lang/Object;)V

    .line 74
    iget-object v2, p0, Lcom/estrongs/android/ui/drag/a;->n:Lcom/estrongs/android/ui/drag/d;

    aget v3, v0, p2

    aget v4, v0, v9

    iget v1, p0, Lcom/estrongs/android/ui/drag/a;->k:F

    float-to-int v5, v1

    iget v1, p0, Lcom/estrongs/android/ui/drag/a;->l:F

    float-to-int v6, v1

    iget-object v7, p0, Lcom/estrongs/android/ui/drag/a;->p:Lcom/estrongs/android/ui/drag/e;

    iget-object v8, p0, Lcom/estrongs/android/ui/drag/a;->o:Ljava/lang/Object;

    move-object v1, p1

    invoke-interface/range {v1 .. v8}, Lcom/estrongs/android/ui/drag/g;->b(Lcom/estrongs/android/ui/drag/d;IIIILcom/estrongs/android/ui/drag/e;Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 75
    iget-object v2, p0, Lcom/estrongs/android/ui/drag/a;->n:Lcom/estrongs/android/ui/drag/d;

    aget v3, v0, p2

    aget v4, v0, v9

    iget p2, p0, Lcom/estrongs/android/ui/drag/a;->k:F

    float-to-int v5, p2

    iget p2, p0, Lcom/estrongs/android/ui/drag/a;->l:F

    float-to-int v6, p2

    iget-object v7, p0, Lcom/estrongs/android/ui/drag/a;->p:Lcom/estrongs/android/ui/drag/e;

    iget-object v8, p0, Lcom/estrongs/android/ui/drag/a;->o:Ljava/lang/Object;

    move-object v1, p1

    invoke-interface/range {v1 .. v8}, Lcom/estrongs/android/ui/drag/g;->a(Lcom/estrongs/android/ui/drag/d;IIIILcom/estrongs/android/ui/drag/e;Ljava/lang/Object;)V

    .line 76
    iget-object p2, p0, Lcom/estrongs/android/ui/drag/a;->n:Lcom/estrongs/android/ui/drag/d;

    check-cast p1, Landroid/view/View;

    invoke-interface {p2, p1, v9}, Lcom/estrongs/android/ui/drag/d;->a(Landroid/view/View;Z)V

    return v9

    .line 77
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/ui/drag/a;->n:Lcom/estrongs/android/ui/drag/d;

    check-cast p1, Landroid/view/View;

    invoke-interface {v0, p1, p2}, Lcom/estrongs/android/ui/drag/d;->a(Landroid/view/View;Z)V

    return v9

    :cond_1
    return p2
.end method

.method static synthetic b(Lcom/estrongs/android/ui/drag/a;)Lcom/estrongs/android/ui/drag/c;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/drag/a;->H:Lcom/estrongs/android/ui/drag/c;

    return-object p0
.end method

.method static synthetic c(Lcom/estrongs/android/ui/drag/a;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/estrongs/android/ui/drag/a;->I:I

    return p0
.end method

.method static synthetic d(Lcom/estrongs/android/ui/drag/a;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/estrongs/android/ui/drag/a;->L:Z

    return p0
.end method

.method static synthetic e(Lcom/estrongs/android/ui/drag/a;)Landroid/os/Handler;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/drag/a;->b:Landroid/os/Handler;

    return-object p0
.end method

.method static synthetic f(Lcom/estrongs/android/ui/drag/a;)Lcom/estrongs/android/ui/drag/e;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/drag/a;->p:Lcom/estrongs/android/ui/drag/e;

    return-object p0
.end method

.method static synthetic g(Lcom/estrongs/android/ui/drag/a;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/estrongs/android/ui/drag/a;->t:I

    return p0
.end method

.method private g()V
    .locals 2

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Lcom/estrongs/android/ui/drag/a;->f:Z

    .line 3
    iget-boolean v1, p0, Lcom/estrongs/android/ui/drag/a;->e:Z

    if-eqz v1, :cond_5

    .line 4
    iput-boolean v0, p0, Lcom/estrongs/android/ui/drag/a;->e:Z

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/ui/drag/a;->j:Landroid/view/View;

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 6
    iput-object v1, p0, Lcom/estrongs/android/ui/drag/a;->j:Landroid/view/View;

    .line 7
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/ui/drag/a;->r:Ljava/util/List;

    if-eqz v0, :cond_1

    .line 8
    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 9
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/ui/drag/a;->E:Lcom/estrongs/android/ui/drag/a$c;

    if-eqz v0, :cond_2

    .line 10
    invoke-interface {v0}, Lcom/estrongs/android/ui/drag/a$c;->a()V

    .line 11
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/ui/drag/a;->p:Lcom/estrongs/android/ui/drag/e;

    if-eqz v0, :cond_3

    .line 12
    invoke-virtual {v0}, Lcom/estrongs/android/ui/drag/e;->c()V

    .line 13
    iput-object v1, p0, Lcom/estrongs/android/ui/drag/a;->p:Lcom/estrongs/android/ui/drag/e;

    .line 14
    :cond_3
    iput-object v1, p0, Lcom/estrongs/android/ui/drag/a;->n:Lcom/estrongs/android/ui/drag/d;

    .line 15
    iput-object v1, p0, Lcom/estrongs/android/ui/drag/a;->o:Ljava/lang/Object;

    .line 16
    iget-object v0, p0, Lcom/estrongs/android/ui/drag/a;->C:Ljava/util/HashSet;

    if-eqz v0, :cond_4

    .line 17
    invoke-virtual {v0}, Ljava/util/HashSet;->clear()V

    .line 18
    :cond_4
    iget-object v0, p0, Lcom/estrongs/android/ui/drag/a;->D:Ljava/util/ArrayList;

    if-eqz v0, :cond_5

    .line 19
    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    :cond_5
    return-void
.end method

.method static synthetic h(Lcom/estrongs/android/ui/drag/a;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/estrongs/android/ui/drag/a;->u:I

    return p0
.end method

.method private h()V
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/drag/a;->a:Landroid/content/Context;

    const-string v1, "window"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/WindowManager;

    .line 3
    invoke-interface {v0}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object v0

    iget-object v1, p0, Lcom/estrongs/android/ui/drag/a;->i:Landroid/util/DisplayMetrics;

    invoke-virtual {v0, v1}, Landroid/view/Display;->getMetrics(Landroid/util/DisplayMetrics;)V

    return-void
.end method

.method private i()V
    .locals 21

    move-object/from16 v11, p0

    .line 2
    iget-object v0, v11, Lcom/estrongs/android/ui/drag/a;->y:Lcom/estrongs/fs/g;

    if-nez v0, :cond_0

    return-void

    .line 3
    :cond_0
    iget-object v0, v11, Lcom/estrongs/android/ui/drag/a;->z:Lcom/estrongs/android/view/FileGridViewWrapper;

    if-nez v0, :cond_1

    return-void

    :cond_1
    const/4 v12, 0x1

    .line 4
    iput-boolean v12, v11, Lcom/estrongs/android/ui/drag/a;->e:Z

    .line 5
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 6
    iget-object v1, v11, Lcom/estrongs/android/ui/drag/a;->z:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->x()Ljava/util/List;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 7
    iput-object v0, v11, Lcom/estrongs/android/ui/drag/a;->o:Ljava/lang/Object;

    .line 8
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v0, v12, :cond_2

    return-void

    .line 9
    :cond_2
    iget-object v0, v11, Lcom/estrongs/android/ui/drag/a;->y:Lcom/estrongs/fs/g;

    invoke-interface {v0}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v0

    .line 10
    iget-object v1, v11, Lcom/estrongs/android/ui/drag/a;->z:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->w()Ljava/util/Map;

    move-result-object v1

    .line 11
    invoke-interface {v1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/android/ui/drag/b;

    if-eqz v2, :cond_15

    .line 12
    invoke-virtual {v2}, Lcom/estrongs/android/ui/drag/b;->d()Lcom/estrongs/android/ui/drag/DragGrid;

    move-result-object v2

    iput-object v2, v11, Lcom/estrongs/android/ui/drag/a;->j:Landroid/view/View;

    if-nez v2, :cond_3

    return-void

    .line 13
    :cond_3
    invoke-virtual {v2}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;

    move-result-object v2

    .line 14
    iget-object v3, v11, Lcom/estrongs/android/ui/drag/a;->j:Landroid/view/View;

    const/4 v13, 0x0

    invoke-virtual {v3, v13}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 15
    iget-object v3, v11, Lcom/estrongs/android/ui/drag/a;->j:Landroid/view/View;

    invoke-direct {v11, v3}, Lcom/estrongs/android/ui/drag/a;->a(Landroid/view/View;)Landroid/graphics/Bitmap;

    move-result-object v3

    .line 16
    iget-object v4, v11, Lcom/estrongs/android/ui/drag/a;->j:Landroid/view/View;

    invoke-virtual {v4, v2}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 17
    invoke-interface {v1, v0}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    .line 18
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 19
    invoke-interface {v1}, Ljava/util/Map;->entrySet()Ljava/util/Set;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v2

    const/4 v14, 0x0

    const/4 v4, 0x0

    .line 20
    :cond_4
    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    const/4 v15, 0x5

    if-eqz v5, :cond_7

    .line 21
    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/util/Map$Entry;

    .line 22
    invoke-interface {v5}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v6

    if-nez v6, :cond_5

    goto :goto_0

    .line 23
    :cond_5
    invoke-interface {v5}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/estrongs/android/ui/drag/b;

    if-eqz v5, :cond_4

    .line 24
    invoke-virtual {v5}, Lcom/estrongs/android/ui/drag/b;->d()Lcom/estrongs/android/ui/drag/DragGrid;

    move-result-object v6

    if-eqz v6, :cond_4

    .line 25
    invoke-virtual {v5}, Lcom/estrongs/android/ui/drag/b;->a()Landroid/graphics/Bitmap;

    move-result-object v6

    if-nez v6, :cond_6

    .line 26
    invoke-virtual {v5}, Lcom/estrongs/android/ui/drag/b;->d()Lcom/estrongs/android/ui/drag/DragGrid;

    move-result-object v6

    invoke-virtual {v6}, Landroid/widget/FrameLayout;->getBackground()Landroid/graphics/drawable/Drawable;

    move-result-object v6

    .line 27
    invoke-virtual {v5}, Lcom/estrongs/android/ui/drag/b;->d()Lcom/estrongs/android/ui/drag/DragGrid;

    move-result-object v7

    const v8, 0x7f08012a

    invoke-virtual {v7, v8}, Landroid/widget/FrameLayout;->setBackgroundResource(I)V

    .line 28
    invoke-virtual {v5}, Lcom/estrongs/android/ui/drag/b;->d()Lcom/estrongs/android/ui/drag/DragGrid;

    move-result-object v7

    invoke-static {v7}, Les/fy;->a(Landroid/view/View;)Landroid/graphics/Bitmap;

    move-result-object v7

    .line 29
    invoke-virtual {v5, v7}, Lcom/estrongs/android/ui/drag/b;->a(Landroid/graphics/Bitmap;)V

    .line 30
    invoke-virtual {v5}, Lcom/estrongs/android/ui/drag/b;->d()Lcom/estrongs/android/ui/drag/DragGrid;

    move-result-object v5

    invoke-virtual {v5, v6}, Landroid/widget/FrameLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    :cond_6
    add-int/lit8 v4, v4, 0x1

    if-lt v4, v15, :cond_4

    .line 31
    :cond_7
    invoke-interface {v1}, Ljava/util/Map;->keySet()Ljava/util/Set;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_8
    :goto_1
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_a

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    .line 32
    invoke-interface {v1, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/estrongs/android/ui/drag/b;

    .line 33
    invoke-interface {v0, v5}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v6

    if-nez v6, :cond_8

    .line 34
    invoke-virtual {v5}, Lcom/estrongs/android/ui/drag/b;->d()Lcom/estrongs/android/ui/drag/DragGrid;

    move-result-object v6

    invoke-static {v6}, Lcom/estrongs/android/view/FileGridViewWrapper;->b(Landroid/view/View;)Ljava/lang/String;

    move-result-object v6

    if-eqz v6, :cond_9

    .line 35
    invoke-virtual {v6, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_9

    .line 36
    invoke-interface {v0, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_1

    .line 37
    :cond_9
    invoke-virtual {v5, v13}, Lcom/estrongs/android/ui/drag/b;->a(Lcom/estrongs/android/ui/drag/DragGrid;)V

    .line 38
    invoke-interface {v0, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_1

    .line 39
    :cond_a
    iput-object v0, v11, Lcom/estrongs/android/ui/drag/a;->r:Ljava/util/List;

    if-nez v3, :cond_b

    return-void

    .line 40
    :cond_b
    iget-object v0, v11, Lcom/estrongs/android/ui/drag/a;->d:[I

    .line 41
    iget-object v1, v11, Lcom/estrongs/android/ui/drag/a;->j:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/view/View;->getLocationOnScreen([I)V

    .line 42
    aget v2, v0, v14

    .line 43
    aget v4, v0, v12

    const/4 v5, 0x0

    const/4 v6, 0x0

    .line 44
    invoke-virtual {v3}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v7

    invoke-virtual {v3}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v8

    iget-object v9, v11, Lcom/estrongs/android/ui/drag/a;->n:Lcom/estrongs/android/ui/drag/d;

    iget-object v10, v11, Lcom/estrongs/android/ui/drag/a;->o:Ljava/lang/Object;

    iget v1, v11, Lcom/estrongs/android/ui/drag/a;->q:I

    move-object/from16 v0, p0

    move/from16 v16, v1

    move-object v1, v3

    move v3, v4

    move v4, v5

    move v5, v6

    move v6, v7

    move v7, v8

    move-object v8, v9

    move-object v9, v10

    move/from16 v10, v16

    invoke-direct/range {v0 .. v10}, Lcom/estrongs/android/ui/drag/a;->a(Landroid/graphics/Bitmap;IIIIIILcom/estrongs/android/ui/drag/d;Ljava/lang/Object;I)V

    .line 45
    iget-object v0, v11, Lcom/estrongs/android/ui/drag/a;->z:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->t()Landroidx/recyclerview/widget/RecyclerView;

    move-result-object v0

    invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager;

    move-result-object v0

    check-cast v0, Landroidx/recyclerview/widget/GridLayoutManager;

    .line 46
    invoke-virtual {v0}, Landroidx/recyclerview/widget/LinearLayoutManager;->findFirstVisibleItemPosition()I

    move-result v9

    .line 47
    invoke-virtual {v0}, Landroidx/recyclerview/widget/LinearLayoutManager;->findLastVisibleItemPosition()I

    .line 48
    iget-object v0, v11, Lcom/estrongs/android/ui/drag/a;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v0

    iget v10, v0, Landroid/util/DisplayMetrics;->widthPixels:I

    .line 49
    iget-object v0, v11, Lcom/estrongs/android/ui/drag/a;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v0

    iget v8, v0, Landroid/util/DisplayMetrics;->heightPixels:I

    .line 50
    iput-boolean v14, v11, Lcom/estrongs/android/ui/drag/a;->s:Z

    .line 51
    iget-object v0, v11, Lcom/estrongs/android/ui/drag/a;->r:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-gt v0, v15, :cond_c

    iget-object v0, v11, Lcom/estrongs/android/ui/drag/a;->r:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v15

    :cond_c
    const/4 v7, 0x0

    :goto_2
    if-ge v7, v15, :cond_14

    .line 52
    iget-object v0, v11, Lcom/estrongs/android/ui/drag/a;->r:Ljava/util/List;

    invoke-interface {v0, v7}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/ui/drag/b;

    .line 53
    invoke-virtual {v0}, Lcom/estrongs/android/ui/drag/b;->a()Landroid/graphics/Bitmap;

    move-result-object v1

    if-nez v1, :cond_e

    .line 54
    invoke-virtual {v0}, Lcom/estrongs/android/ui/drag/b;->d()Lcom/estrongs/android/ui/drag/DragGrid;

    move-result-object v1

    if-nez v1, :cond_d

    move/from16 v20, v7

    move/from16 v18, v8

    goto/16 :goto_6

    .line 55
    :cond_d
    invoke-virtual {v1}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;

    move-result-object v2

    .line 56
    invoke-virtual {v1, v13}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 57
    invoke-direct {v11, v1}, Lcom/estrongs/android/ui/drag/a;->a(Landroid/view/View;)Landroid/graphics/Bitmap;

    move-result-object v3

    .line 58
    invoke-virtual {v1, v2}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    move-object/from16 v16, v3

    const/16 v17, 0x1

    goto :goto_3

    :cond_e
    move-object/from16 v16, v1

    const/16 v17, 0x0

    :goto_3
    if-nez v16, :cond_f

    .line 59
    invoke-direct/range {p0 .. p0}, Lcom/estrongs/android/ui/drag/a;->g()V

    return-void

    .line 60
    :cond_f
    iget-object v1, v11, Lcom/estrongs/android/ui/drag/a;->d:[I

    .line 61
    invoke-virtual {v0}, Lcom/estrongs/android/ui/drag/b;->d()Lcom/estrongs/android/ui/drag/DragGrid;

    move-result-object v2

    if-eqz v2, :cond_10

    .line 62
    invoke-virtual {v0}, Lcom/estrongs/android/ui/drag/b;->d()Lcom/estrongs/android/ui/drag/DragGrid;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->getLocationOnScreen([I)V

    goto :goto_5

    .line 63
    :cond_10
    invoke-virtual/range {v16 .. v16}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v2

    sub-int v2, v10, v2

    if-gtz v2, :cond_11

    .line 64
    aput v14, v1, v14

    goto :goto_4

    .line 65
    :cond_11
    new-instance v2, Ljava/util/Random;

    invoke-direct {v2}, Ljava/util/Random;-><init>()V

    invoke-virtual/range {v16 .. v16}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    sub-int v3, v10, v3

    invoke-virtual {v2, v3}, Ljava/util/Random;->nextInt(I)I

    move-result v2

    aput v2, v1, v14

    .line 66
    :goto_4
    invoke-virtual {v0}, Lcom/estrongs/android/ui/drag/b;->c()I

    move-result v0

    if-ge v0, v9, :cond_12

    .line 67
    aput v14, v1, v12

    goto :goto_5

    .line 68
    :cond_12
    aput v8, v1, v12

    .line 69
    :goto_5
    aget v2, v1, v14

    .line 70
    aget v3, v1, v12

    const/4 v4, 0x0

    const/4 v5, 0x0

    .line 71
    invoke-virtual/range {v16 .. v16}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v6

    invoke-virtual/range {v16 .. v16}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v18

    add-int/lit8 v19, v7, 0x1

    move-object/from16 v0, p0

    move-object/from16 v1, v16

    move/from16 v20, v7

    move/from16 v7, v18

    move/from16 v18, v8

    move/from16 v8, v19

    .line 72
    invoke-direct/range {v0 .. v8}, Lcom/estrongs/android/ui/drag/a;->a(Landroid/graphics/Bitmap;IIIIIII)V

    if-eqz v17, :cond_13

    .line 73
    invoke-virtual/range {v16 .. v16}, Landroid/graphics/Bitmap;->recycle()V

    :cond_13
    :goto_6
    add-int/lit8 v7, v20, 0x1

    move/from16 v8, v18

    goto/16 :goto_2

    .line 74
    :cond_14
    iget-object v0, v11, Lcom/estrongs/android/ui/drag/a;->z:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->K()V

    .line 75
    iget-object v0, v11, Lcom/estrongs/android/ui/drag/a;->H:Lcom/estrongs/android/ui/drag/c;

    invoke-interface {v0}, Lcom/estrongs/android/ui/drag/c;->getScrollViewRect()Landroid/graphics/Rect;

    move-result-object v0

    iput-object v0, v11, Lcom/estrongs/android/ui/drag/a;->v:Landroid/graphics/Rect;

    .line 76
    new-instance v0, Landroid/graphics/Rect;

    iget-object v1, v11, Lcom/estrongs/android/ui/drag/a;->v:Landroid/graphics/Rect;

    iget v2, v1, Landroid/graphics/Rect;->left:I

    iget v3, v11, Lcom/estrongs/android/ui/drag/a;->m:I

    add-int/2addr v2, v3

    iget v4, v1, Landroid/graphics/Rect;->top:I

    add-int/2addr v4, v3

    iget v5, v1, Landroid/graphics/Rect;->right:I

    sub-int/2addr v5, v3

    iget v1, v1, Landroid/graphics/Rect;->bottom:I

    sub-int/2addr v1, v3

    invoke-direct {v0, v2, v4, v5, v1}, Landroid/graphics/Rect;-><init>(IIII)V

    iput-object v0, v11, Lcom/estrongs/android/ui/drag/a;->w:Landroid/graphics/Rect;

    .line 77
    iget-object v0, v11, Lcom/estrongs/android/ui/drag/a;->E:Lcom/estrongs/android/ui/drag/a$c;

    if-eqz v0, :cond_15

    .line 78
    iget-object v1, v11, Lcom/estrongs/android/ui/drag/a;->n:Lcom/estrongs/android/ui/drag/d;

    iget-object v2, v11, Lcom/estrongs/android/ui/drag/a;->o:Ljava/lang/Object;

    iget v3, v11, Lcom/estrongs/android/ui/drag/a;->q:I

    invoke-interface {v0, v1, v2, v3}, Lcom/estrongs/android/ui/drag/a$c;->a(Lcom/estrongs/android/ui/drag/d;Ljava/lang/Object;I)V

    :cond_15
    return-void
.end method

.method static synthetic i(Lcom/estrongs/android/ui/drag/a;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/estrongs/android/ui/drag/a;->s:Z

    return p0
.end method

.method static synthetic j(Lcom/estrongs/android/ui/drag/a;)Ljava/util/List;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/drag/a;->r:Ljava/util/List;

    return-object p0
.end method


# virtual methods
.method public a()V
    .locals 1

    const/4 v0, 0x1

    .line 109
    iput-boolean v0, p0, Lcom/estrongs/android/ui/drag/a;->x:Z

    return-void
.end method

.method public a(Lcom/estrongs/android/ui/drag/a$c;)V
    .locals 0

    .line 107
    iput-object p1, p0, Lcom/estrongs/android/ui/drag/a;->E:Lcom/estrongs/android/ui/drag/a$c;

    return-void
.end method

.method public a(Lcom/estrongs/android/ui/drag/c;)V
    .locals 0

    .line 106
    iput-object p1, p0, Lcom/estrongs/android/ui/drag/a;->H:Lcom/estrongs/android/ui/drag/c;

    return-void
.end method

.method public a(Lcom/estrongs/android/ui/drag/g;)V
    .locals 1

    .line 108
    iget-object v0, p0, Lcom/estrongs/android/ui/drag/a;->D:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    return-void
.end method

.method public a(Lcom/estrongs/fs/g;Lcom/estrongs/android/view/FileGridViewWrapper;Lcom/estrongs/android/ui/drag/d;IZ)V
    .locals 0

    .line 3
    iput-object p1, p0, Lcom/estrongs/android/ui/drag/a;->y:Lcom/estrongs/fs/g;

    .line 4
    iput-object p2, p0, Lcom/estrongs/android/ui/drag/a;->z:Lcom/estrongs/android/view/FileGridViewWrapper;

    .line 5
    iput p4, p0, Lcom/estrongs/android/ui/drag/a;->q:I

    .line 6
    iput-object p3, p0, Lcom/estrongs/android/ui/drag/a;->n:Lcom/estrongs/android/ui/drag/d;

    const/4 p2, 0x1

    .line 7
    iput-boolean p2, p0, Lcom/estrongs/android/ui/drag/a;->f:Z

    const/4 p2, 0x0

    .line 8
    iput-boolean p2, p0, Lcom/estrongs/android/ui/drag/a;->L:Z

    .line 9
    iput-boolean p2, p0, Lcom/estrongs/android/ui/drag/a;->x:Z

    if-eqz p5, :cond_0

    if-eqz p1, :cond_0

    .line 10
    invoke-direct {p0}, Lcom/estrongs/android/ui/drag/a;->i()V

    :cond_0
    return-void
.end method

.method public a(Landroid/view/KeyEvent;)Z
    .locals 0

    .line 43
    iget-boolean p1, p0, Lcom/estrongs/android/ui/drag/a;->e:Z

    return p1
.end method

.method public a(Landroid/view/MotionEvent;)Z
    .locals 6

    .line 44
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-nez v0, :cond_1

    .line 45
    invoke-direct {p0}, Lcom/estrongs/android/ui/drag/a;->h()V

    .line 46
    iget-boolean v3, p0, Lcom/estrongs/android/ui/drag/a;->A:Z

    if-eqz v3, :cond_0

    .line 47
    iput-boolean v1, p0, Lcom/estrongs/android/ui/drag/a;->B:Z

    .line 48
    :cond_0
    iput-boolean v1, p0, Lcom/estrongs/android/ui/drag/a;->A:Z

    goto :goto_0

    .line 49
    :cond_1
    iput-boolean v2, p0, Lcom/estrongs/android/ui/drag/a;->A:Z

    .line 50
    iput-boolean v2, p0, Lcom/estrongs/android/ui/drag/a;->B:Z

    .line 51
    :goto_0
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawX()F

    move-result v3

    float-to-int v3, v3

    .line 52
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawY()F

    move-result p1

    float-to-int p1, p1

    .line 53
    iget-object v4, p0, Lcom/estrongs/android/ui/drag/a;->i:Landroid/util/DisplayMetrics;

    iget v4, v4, Landroid/util/DisplayMetrics;->widthPixels:I

    invoke-static {v3, v2, v4}, Lcom/estrongs/android/ui/drag/a;->a(III)I

    move-result v4

    .line 54
    iget-object v5, p0, Lcom/estrongs/android/ui/drag/a;->i:Landroid/util/DisplayMetrics;

    iget v5, v5, Landroid/util/DisplayMetrics;->heightPixels:I

    invoke-static {p1, v2, v5}, Lcom/estrongs/android/ui/drag/a;->a(III)I

    move-result v2

    if-eqz v0, :cond_5

    if-eq v0, v1, :cond_3

    const/4 v5, 0x2

    if-eq v0, v5, :cond_2

    const/4 p1, 0x3

    if-eq v0, p1, :cond_3

    goto :goto_1

    .line 55
    :cond_2
    iget-boolean v0, p0, Lcom/estrongs/android/ui/drag/a;->e:Z

    if-nez v0, :cond_6

    iget-boolean v0, p0, Lcom/estrongs/android/ui/drag/a;->f:Z

    if-eqz v0, :cond_6

    .line 56
    iget-object v0, p0, Lcom/estrongs/android/ui/drag/a;->K:Landroid/graphics/Rect;

    invoke-virtual {v0, v3, p1}, Landroid/graphics/Rect;->contains(II)Z

    move-result p1

    if-nez p1, :cond_6

    .line 57
    iput-boolean v1, p0, Lcom/estrongs/android/ui/drag/a;->e:Z

    .line 58
    invoke-direct {p0}, Lcom/estrongs/android/ui/drag/a;->i()V

    goto :goto_1

    .line 59
    :cond_3
    iget-boolean p1, p0, Lcom/estrongs/android/ui/drag/a;->e:Z

    if-eqz p1, :cond_4

    int-to-float p1, v4

    int-to-float v0, v2

    .line 60
    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/ui/drag/a;->a(FF)Z

    .line 61
    :cond_4
    invoke-direct {p0}, Lcom/estrongs/android/ui/drag/a;->g()V

    goto :goto_1

    :cond_5
    int-to-float v0, v4

    .line 62
    iput v0, p0, Lcom/estrongs/android/ui/drag/a;->g:F

    int-to-float v1, v2

    .line 63
    iput v1, p0, Lcom/estrongs/android/ui/drag/a;->h:F

    float-to-int v0, v0

    .line 64
    iput v0, p0, Lcom/estrongs/android/ui/drag/a;->t:I

    float-to-int v0, v1

    .line 65
    iput v0, p0, Lcom/estrongs/android/ui/drag/a;->u:I

    const/4 v0, 0x0

    .line 66
    iput-object v0, p0, Lcom/estrongs/android/ui/drag/a;->N:Lcom/estrongs/android/ui/drag/g;

    .line 67
    iget-object v0, p0, Lcom/estrongs/android/ui/drag/a;->K:Landroid/graphics/Rect;

    iget v1, p0, Lcom/estrongs/android/ui/drag/a;->P:I

    sub-int v2, v3, v1

    sub-int v4, p1, v1

    add-int/2addr v3, v1

    add-int/2addr p1, v1

    invoke-virtual {v0, v2, v4, v3, p1}, Landroid/graphics/Rect;->set(IIII)V

    .line 68
    :cond_6
    :goto_1
    iget-boolean p1, p0, Lcom/estrongs/android/ui/drag/a;->e:Z

    return p1
.end method

.method public a(Landroid/view/View;I)Z
    .locals 1

    .line 69
    iget-object v0, p0, Lcom/estrongs/android/ui/drag/a;->G:Landroid/view/View;

    if-eqz v0, :cond_0

    .line 70
    invoke-virtual {v0, p1, p2}, Landroid/view/View;->dispatchUnhandledMove(Landroid/view/View;I)Z

    move-result p1

    if-eqz p1, :cond_0

    const/4 p1, 0x1

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    :goto_0
    return p1
.end method

.method public b()V
    .locals 0

    .line 2
    invoke-direct {p0}, Lcom/estrongs/android/ui/drag/a;->g()V

    return-void
.end method

.method public b(Lcom/estrongs/android/ui/drag/g;)V
    .locals 1

    .line 59
    iget-object v0, p0, Lcom/estrongs/android/ui/drag/a;->C:Ljava/util/HashSet;

    invoke-virtual {v0, p1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z

    return-void
.end method

.method public b(Landroid/view/MotionEvent;)Z
    .locals 24

    move-object/from16 v0, p0

    .line 3
    iget-boolean v1, v0, Lcom/estrongs/android/ui/drag/a;->e:Z

    const/4 v2, 0x0

    if-nez v1, :cond_0

    return v2

    .line 4
    :cond_0
    invoke-virtual/range {p1 .. p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v1

    .line 5
    invoke-virtual/range {p1 .. p1}, Landroid/view/MotionEvent;->getRawX()F

    move-result v3

    float-to-int v3, v3

    iget-object v4, v0, Lcom/estrongs/android/ui/drag/a;->i:Landroid/util/DisplayMetrics;

    iget v4, v4, Landroid/util/DisplayMetrics;->widthPixels:I

    invoke-static {v3, v2, v4}, Lcom/estrongs/android/ui/drag/a;->a(III)I

    move-result v3

    .line 6
    invoke-virtual/range {p1 .. p1}, Landroid/view/MotionEvent;->getRawY()F

    move-result v4

    float-to-int v4, v4

    iget-object v5, v0, Lcom/estrongs/android/ui/drag/a;->i:Landroid/util/DisplayMetrics;

    iget v5, v5, Landroid/util/DisplayMetrics;->heightPixels:I

    invoke-static {v4, v2, v5}, Lcom/estrongs/android/ui/drag/a;->a(III)I

    move-result v4

    const-wide/16 v5, 0x1f4

    const/4 v7, 0x1

    if-eqz v1, :cond_f

    if-eq v1, v7, :cond_d

    const/4 v8, 0x3

    const/4 v9, 0x2

    if-eq v1, v9, :cond_2

    if-eq v1, v8, :cond_1

    goto/16 :goto_2

    .line 7
    :cond_1
    invoke-virtual/range {p0 .. p0}, Lcom/estrongs/android/ui/drag/a;->b()V

    goto/16 :goto_2

    .line 8
    :cond_2
    iget-object v1, v0, Lcom/estrongs/android/ui/drag/a;->p:Lcom/estrongs/android/ui/drag/e;

    if-eqz v1, :cond_3

    .line 9
    invoke-virtual/range {p1 .. p1}, Landroid/view/MotionEvent;->getRawX()F

    move-result v10

    float-to-int v10, v10

    invoke-virtual/range {p1 .. p1}, Landroid/view/MotionEvent;->getRawY()F

    move-result v11

    float-to-int v11, v11

    invoke-virtual {v1, v10, v11}, Lcom/estrongs/android/ui/drag/e;->a(II)V

    .line 10
    :cond_3
    invoke-virtual/range {p1 .. p1}, Landroid/view/MotionEvent;->getRawX()F

    move-result v1

    float-to-int v1, v1

    iput v1, v0, Lcom/estrongs/android/ui/drag/a;->t:I

    .line 11
    invoke-virtual/range {p1 .. p1}, Landroid/view/MotionEvent;->getRawY()F

    move-result v1

    float-to-int v1, v1

    iput v1, v0, Lcom/estrongs/android/ui/drag/a;->u:I

    .line 12
    iget-object v1, v0, Lcom/estrongs/android/ui/drag/a;->d:[I

    .line 13
    invoke-direct {v0, v3, v4, v1}, Lcom/estrongs/android/ui/drag/a;->a(II[I)Lcom/estrongs/android/ui/drag/g;

    move-result-object v15

    if-eqz v15, :cond_6

    .line 14
    iget-object v10, v0, Lcom/estrongs/android/ui/drag/a;->N:Lcom/estrongs/android/ui/drag/g;

    if-ne v10, v15, :cond_4

    .line 15
    iget-object v11, v0, Lcom/estrongs/android/ui/drag/a;->n:Lcom/estrongs/android/ui/drag/d;

    aget v12, v1, v2

    aget v13, v1, v7

    iget v1, v0, Lcom/estrongs/android/ui/drag/a;->k:F

    float-to-int v14, v1

    iget v1, v0, Lcom/estrongs/android/ui/drag/a;->l:F

    float-to-int v1, v1

    iget-object v10, v0, Lcom/estrongs/android/ui/drag/a;->p:Lcom/estrongs/android/ui/drag/e;

    iget-object v8, v0, Lcom/estrongs/android/ui/drag/a;->o:Ljava/lang/Object;

    move-object/from16 v16, v10

    move-object v10, v15

    move-object/from16 p1, v15

    move v15, v1

    move-object/from16 v17, v8

    invoke-interface/range {v10 .. v17}, Lcom/estrongs/android/ui/drag/g;->d(Lcom/estrongs/android/ui/drag/d;IIIILcom/estrongs/android/ui/drag/e;Ljava/lang/Object;)V

    goto :goto_0

    :cond_4
    move-object/from16 p1, v15

    if-eqz v10, :cond_5

    .line 16
    iget-object v8, v0, Lcom/estrongs/android/ui/drag/a;->n:Lcom/estrongs/android/ui/drag/d;

    aget v18, v1, v2

    aget v19, v1, v7

    iget v11, v0, Lcom/estrongs/android/ui/drag/a;->k:F

    float-to-int v11, v11

    iget v12, v0, Lcom/estrongs/android/ui/drag/a;->l:F

    float-to-int v12, v12

    iget-object v13, v0, Lcom/estrongs/android/ui/drag/a;->p:Lcom/estrongs/android/ui/drag/e;

    iget-object v14, v0, Lcom/estrongs/android/ui/drag/a;->o:Ljava/lang/Object;

    move-object/from16 v16, v10

    move-object/from16 v17, v8

    move/from16 v20, v11

    move/from16 v21, v12

    move-object/from16 v22, v13

    move-object/from16 v23, v14

    invoke-interface/range {v16 .. v23}, Lcom/estrongs/android/ui/drag/g;->c(Lcom/estrongs/android/ui/drag/d;IIIILcom/estrongs/android/ui/drag/e;Ljava/lang/Object;)V

    .line 17
    :cond_5
    iget-object v11, v0, Lcom/estrongs/android/ui/drag/a;->n:Lcom/estrongs/android/ui/drag/d;

    aget v12, v1, v2

    aget v13, v1, v7

    iget v1, v0, Lcom/estrongs/android/ui/drag/a;->k:F

    float-to-int v14, v1

    iget v1, v0, Lcom/estrongs/android/ui/drag/a;->l:F

    float-to-int v15, v1

    iget-object v1, v0, Lcom/estrongs/android/ui/drag/a;->p:Lcom/estrongs/android/ui/drag/e;

    iget-object v8, v0, Lcom/estrongs/android/ui/drag/a;->o:Ljava/lang/Object;

    move-object/from16 v10, p1

    move-object/from16 v16, v1

    move-object/from16 v17, v8

    invoke-interface/range {v10 .. v17}, Lcom/estrongs/android/ui/drag/g;->e(Lcom/estrongs/android/ui/drag/d;IIIILcom/estrongs/android/ui/drag/e;Ljava/lang/Object;)V

    goto :goto_0

    :cond_6
    move-object/from16 p1, v15

    .line 18
    iget-object v8, v0, Lcom/estrongs/android/ui/drag/a;->N:Lcom/estrongs/android/ui/drag/g;

    if-eqz v8, :cond_7

    .line 19
    iget-object v10, v0, Lcom/estrongs/android/ui/drag/a;->n:Lcom/estrongs/android/ui/drag/d;

    aget v18, v1, v2

    aget v19, v1, v7

    iget v1, v0, Lcom/estrongs/android/ui/drag/a;->k:F

    float-to-int v1, v1

    iget v11, v0, Lcom/estrongs/android/ui/drag/a;->l:F

    float-to-int v11, v11

    iget-object v12, v0, Lcom/estrongs/android/ui/drag/a;->p:Lcom/estrongs/android/ui/drag/e;

    iget-object v13, v0, Lcom/estrongs/android/ui/drag/a;->o:Ljava/lang/Object;

    move-object/from16 v16, v8

    move-object/from16 v17, v10

    move/from16 v20, v1

    move/from16 v21, v11

    move-object/from16 v22, v12

    move-object/from16 v23, v13

    invoke-interface/range {v16 .. v23}, Lcom/estrongs/android/ui/drag/g;->c(Lcom/estrongs/android/ui/drag/d;IIIILcom/estrongs/android/ui/drag/e;Ljava/lang/Object;)V

    :cond_7
    :goto_0
    move-object/from16 v1, p1

    .line 20
    iput-object v1, v0, Lcom/estrongs/android/ui/drag/a;->N:Lcom/estrongs/android/ui/drag/g;

    .line 21
    iget-object v1, v0, Lcom/estrongs/android/ui/drag/a;->M:Landroid/graphics/RectF;

    if-eqz v1, :cond_8

    int-to-float v8, v3

    int-to-float v10, v4

    .line 22
    invoke-virtual {v1, v8, v10}, Landroid/graphics/RectF;->contains(FF)Z

    move-result v1

    goto :goto_1

    :cond_8
    const/4 v1, 0x0

    .line 23
    :goto_1
    iget-boolean v8, v0, Lcom/estrongs/android/ui/drag/a;->L:Z

    if-nez v8, :cond_11

    iget-boolean v8, v0, Lcom/estrongs/android/ui/drag/a;->x:Z

    if-nez v8, :cond_11

    if-nez v1, :cond_9

    .line 24
    iget-object v8, v0, Lcom/estrongs/android/ui/drag/a;->w:Landroid/graphics/Rect;

    iget v8, v8, Landroid/graphics/Rect;->left:I

    if-ge v3, v8, :cond_9

    iget-object v8, v0, Lcom/estrongs/android/ui/drag/a;->v:Landroid/graphics/Rect;

    iget v8, v8, Landroid/graphics/Rect;->left:I

    if-le v3, v8, :cond_9

    .line 25
    iget v1, v0, Lcom/estrongs/android/ui/drag/a;->I:I

    if-nez v1, :cond_11

    .line 26
    iput v7, v0, Lcom/estrongs/android/ui/drag/a;->I:I

    .line 27
    iget-object v1, v0, Lcom/estrongs/android/ui/drag/a;->J:Lcom/estrongs/android/ui/drag/a$e;

    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/drag/a$e;->a(I)V

    .line 28
    iget-object v1, v0, Lcom/estrongs/android/ui/drag/a;->b:Landroid/os/Handler;

    iget-object v2, v0, Lcom/estrongs/android/ui/drag/a;->J:Lcom/estrongs/android/ui/drag/a$e;

    invoke-virtual {v1, v2, v5, v6}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    goto/16 :goto_2

    :cond_9
    if-nez v1, :cond_a

    .line 29
    iget-object v8, v0, Lcom/estrongs/android/ui/drag/a;->w:Landroid/graphics/Rect;

    iget v8, v8, Landroid/graphics/Rect;->right:I

    if-le v3, v8, :cond_a

    iget-object v8, v0, Lcom/estrongs/android/ui/drag/a;->v:Landroid/graphics/Rect;

    iget v8, v8, Landroid/graphics/Rect;->right:I

    if-ge v3, v8, :cond_a

    .line 30
    iget v1, v0, Lcom/estrongs/android/ui/drag/a;->I:I

    if-nez v1, :cond_11

    .line 31
    iput v7, v0, Lcom/estrongs/android/ui/drag/a;->I:I

    .line 32
    iget-object v1, v0, Lcom/estrongs/android/ui/drag/a;->J:Lcom/estrongs/android/ui/drag/a$e;

    invoke-virtual {v1, v7}, Lcom/estrongs/android/ui/drag/a$e;->a(I)V

    .line 33
    iget-object v1, v0, Lcom/estrongs/android/ui/drag/a;->b:Landroid/os/Handler;

    iget-object v2, v0, Lcom/estrongs/android/ui/drag/a;->J:Lcom/estrongs/android/ui/drag/a$e;

    invoke-virtual {v1, v2, v5, v6}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    goto/16 :goto_2

    :cond_a
    if-nez v1, :cond_b

    .line 34
    iget-object v3, v0, Lcom/estrongs/android/ui/drag/a;->w:Landroid/graphics/Rect;

    iget v3, v3, Landroid/graphics/Rect;->top:I

    if-ge v4, v3, :cond_b

    .line 35
    iget v1, v0, Lcom/estrongs/android/ui/drag/a;->I:I

    if-nez v1, :cond_11

    .line 36
    iput v7, v0, Lcom/estrongs/android/ui/drag/a;->I:I

    .line 37
    iget-object v1, v0, Lcom/estrongs/android/ui/drag/a;->J:Lcom/estrongs/android/ui/drag/a$e;

    invoke-virtual {v1, v9}, Lcom/estrongs/android/ui/drag/a$e;->a(I)V

    .line 38
    iget-object v1, v0, Lcom/estrongs/android/ui/drag/a;->b:Landroid/os/Handler;

    iget-object v2, v0, Lcom/estrongs/android/ui/drag/a;->J:Lcom/estrongs/android/ui/drag/a$e;

    invoke-virtual {v1, v2, v5, v6}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    goto :goto_2

    :cond_b
    if-nez v1, :cond_c

    .line 39
    iget-object v1, v0, Lcom/estrongs/android/ui/drag/a;->w:Landroid/graphics/Rect;

    iget v1, v1, Landroid/graphics/Rect;->bottom:I

    if-le v4, v1, :cond_c

    .line 40
    iget v1, v0, Lcom/estrongs/android/ui/drag/a;->I:I

    if-nez v1, :cond_11

    .line 41
    iput v7, v0, Lcom/estrongs/android/ui/drag/a;->I:I

    .line 42
    iget-object v1, v0, Lcom/estrongs/android/ui/drag/a;->J:Lcom/estrongs/android/ui/drag/a$e;

    const/4 v2, 0x3

    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/drag/a$e;->a(I)V

    .line 43
    iget-object v1, v0, Lcom/estrongs/android/ui/drag/a;->b:Landroid/os/Handler;

    iget-object v2, v0, Lcom/estrongs/android/ui/drag/a;->J:Lcom/estrongs/android/ui/drag/a$e;

    invoke-virtual {v1, v2, v5, v6}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    goto :goto_2

    .line 44
    :cond_c
    iget v1, v0, Lcom/estrongs/android/ui/drag/a;->I:I

    if-ne v1, v7, :cond_11

    .line 45
    iput v2, v0, Lcom/estrongs/android/ui/drag/a;->I:I

    .line 46
    iget-object v1, v0, Lcom/estrongs/android/ui/drag/a;->J:Lcom/estrongs/android/ui/drag/a$e;

    invoke-virtual {v1, v7}, Lcom/estrongs/android/ui/drag/a$e;->a(I)V

    .line 47
    iget-object v1, v0, Lcom/estrongs/android/ui/drag/a;->b:Landroid/os/Handler;

    iget-object v2, v0, Lcom/estrongs/android/ui/drag/a;->J:Lcom/estrongs/android/ui/drag/a$e;

    invoke-virtual {v1, v2}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    goto :goto_2

    .line 48
    :cond_d
    iget-object v1, v0, Lcom/estrongs/android/ui/drag/a;->b:Landroid/os/Handler;

    iget-object v2, v0, Lcom/estrongs/android/ui/drag/a;->J:Lcom/estrongs/android/ui/drag/a$e;

    invoke-virtual {v1, v2}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 49
    iget-boolean v1, v0, Lcom/estrongs/android/ui/drag/a;->e:Z

    if-eqz v1, :cond_e

    int-to-float v1, v3

    int-to-float v2, v4

    .line 50
    invoke-direct {v0, v1, v2}, Lcom/estrongs/android/ui/drag/a;->a(FF)Z

    .line 51
    :cond_e
    invoke-direct/range {p0 .. p0}, Lcom/estrongs/android/ui/drag/a;->g()V

    goto :goto_2

    :cond_f
    int-to-float v1, v3

    .line 52
    iput v1, v0, Lcom/estrongs/android/ui/drag/a;->g:F

    int-to-float v1, v4

    .line 53
    iput v1, v0, Lcom/estrongs/android/ui/drag/a;->h:F

    .line 54
    iget-object v1, v0, Lcom/estrongs/android/ui/drag/a;->v:Landroid/graphics/Rect;

    invoke-virtual {v1, v3, v4}, Landroid/graphics/Rect;->contains(II)Z

    move-result v1

    if-eqz v1, :cond_10

    iget-object v1, v0, Lcom/estrongs/android/ui/drag/a;->w:Landroid/graphics/Rect;

    .line 55
    invoke-virtual {v1, v3, v4}, Landroid/graphics/Rect;->contains(II)Z

    move-result v1

    if-nez v1, :cond_10

    .line 56
    iput v7, v0, Lcom/estrongs/android/ui/drag/a;->I:I

    .line 57
    iget-object v1, v0, Lcom/estrongs/android/ui/drag/a;->b:Landroid/os/Handler;

    iget-object v2, v0, Lcom/estrongs/android/ui/drag/a;->J:Lcom/estrongs/android/ui/drag/a$e;

    invoke-virtual {v1, v2, v5, v6}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    goto :goto_2

    .line 58
    :cond_10
    iput v2, v0, Lcom/estrongs/android/ui/drag/a;->I:I

    :cond_11
    :goto_2
    return v7
.end method

.method public c()V
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/drag/a;->D:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/ui/drag/a;->C:Ljava/util/HashSet;

    invoke-virtual {v0}, Ljava/util/HashSet;->clear()V

    return-void
.end method

.method public d()Ljava/lang/Object;
    .locals 1

    .line 2
    iget-boolean v0, p0, Lcom/estrongs/android/ui/drag/a;->e:Z

    if-eqz v0, :cond_0

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/ui/drag/a;->o:Ljava/lang/Object;

    return-object v0

    :cond_0
    const/4 v0, 0x0

    return-object v0
.end method

.method public e()Z
    .locals 1

    .line 2
    iget-boolean v0, p0, Lcom/estrongs/android/ui/drag/a;->e:Z

    return v0
.end method

.method public f()Z
    .locals 1

    .line 2
    iget-boolean v0, p0, Lcom/estrongs/android/ui/drag/a;->B:Z

    return v0
.end method
